// FileEncryptDlg.h : header file
//

#if !defined(AFX_FILEENCRYPTDLG_H__B26DCDCC_40A6_4BFF_8A93_B2246BBAD3D1__INCLUDED_)
#define AFX_FILEENCRYPTDLG_H__B26DCDCC_40A6_4BFF_8A93_B2246BBAD3D1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CFileEncryptDlg dialog

class CFileEncryptDlg : public CDialog
{
// Construction
public:
	CFileEncryptDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CFileEncryptDlg)
	enum { IDD = IDD_FILEENCRYPT_DIALOG };
	CListCtrl	m_ctrFileList;
	CProgressCtrl	m_ctrlProgress;
	CEdit	m_FileName;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileEncryptDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void InitList();
	void ListDirectory(const char* path);
	CWinThread* pThread;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CFileEncryptDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBrowse();
	afx_msg void OnEncypt();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

struct threadInfo
{
	HWND hWnd;
	CProgressCtrl* pctrlProgress;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FILEENCRYPTDLG_H__B26DCDCC_40A6_4BFF_8A93_B2246BBAD3D1__INCLUDED_)
